package com.flea.hclv.service;

import com.flea.hclv.model.entity.HVideoTraining;
import com.flea.hclv.model.entity.vo.HVideoVo;
import com.flea.hclv.util.ServerResponse;
import com.flea.system.bean.FleaPage;

import java.util.List;
import java.util.Map;

public interface HVideoTrainingService {
    ServerResponse<String> save(String userId, String deptId, String model);

    ServerResponse<String> update(String userId, HVideoTraining hVideoTraining);

    ServerResponse<FleaPage<HVideoVo>> selectByDeptId(String userId, int curPage, int pageSize, String model,String deptId);

    ServerResponse<String> deleteByIds(List<String> idList);

    ServerResponse<FleaPage<HVideoTraining>> selectByProductId(String productId, int curPage, int pageSize);

    ServerResponse<Map<String,Object>> selectHomeData();

    ServerResponse<Map<String,Object>> selectHomeDataTwo();

}
